//页面加载动画
$(":submit").click(function () {
    LoadIn();
})

document.onreadystatechange=function(){
    console.log(document.readyState);
    if(document.readyState=="complete"){
        LoadOK();
    }
}

function LoadIn() {
    $("#sk-three-bounce").fadeIn(0);
    $("#main_viewer").hide();
}

function LoadOK() {
    $("#sk-three-bounce").fadeOut(0);
    $("#main_viewer").show();
    console.log("Load Successively!")
}